import request from '@/untils/request'

export const getLoginAPI = (params) => {
  return request.post('/user/login', params)
}

export const getRegisterAPI = (params) => {
  return request.post('/user/register', params)
}

// 修改用户信息
export const getUpdatePAI = (params) => {
  return request.post('/user/updateUsername', params)
}
